package com.ibeeking.found.report.service.common.bo;

public class DictQuery {
    private String table;
    private String code;
    private String text;
    private String keyword;
    private String codeValue;

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof DictQuery)) {
            return false;
        }
        DictQuery dictQuery = (DictQuery) o;
        if (!dictQuery.canEqual(this)) {
            return false;
        }
        String table = getTable();
        String table2 = dictQuery.getTable();
        if (table == null) {
            if (table2 != null) {
                return false;
            }
        } else if (!table.equals(table2)) {
            return false;
        }
        String code = getCode();
        String code2 = dictQuery.getCode();
        if (code == null) {
            if (code2 != null) {
                return false;
            }
        } else if (!code.equals(code2)) {
            return false;
        }
        String text = getText();
        String text2 = dictQuery.getText();
        if (text == null) {
            if (text2 != null) {
                return false;
            }
        } else if (!text.equals(text2)) {
            return false;
        }
        String keyword = getKeyword();
        String keyword2 = dictQuery.getKeyword();
        if (keyword == null) {
            if (keyword2 != null) {
                return false;
            }
        } else if (!keyword.equals(keyword2)) {
            return false;
        }
        String codeValue = getCodeValue();
        String codeValue2 = dictQuery.getCodeValue();
        return codeValue == null ? codeValue2 == null : codeValue.equals(codeValue2);
    }

    protected boolean canEqual(Object other) {
        return other instanceof DictQuery;
    }

    public int hashCode() {
        String table = getTable();
        int hashCode = (1 * 59) + (table == null ? 43 : table.hashCode());
        String code = getCode();
        int hashCode2 = (hashCode * 59) + (code == null ? 43 : code.hashCode());
        String text = getText();
        int hashCode3 = (hashCode2 * 59) + (text == null ? 43 : text.hashCode());
        String keyword = getKeyword();
        int hashCode4 = (hashCode3 * 59) + (keyword == null ? 43 : keyword.hashCode());
        String codeValue = getCodeValue();
        return (hashCode4 * 59) + (codeValue == null ? 43 : codeValue.hashCode());
    }

    public String toString() {
        return "DictQuery(table=" + getTable() + ", code=" + getCode() + ", text=" + getText() + ", keyword=" + getKeyword() + ", codeValue=" + getCodeValue() + ")";
    }

    public String getTable() {
        return this.table;
    }

    public void setTable(String table) {
        this.table = table;
    }

    public String getCode() {
        return this.code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getText() {
        return this.text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getKeyword() {
        return this.keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public String getCodeValue() {
        return this.codeValue;
    }

    public void setCodeValue(String codeValue) {
        this.codeValue = codeValue;
    }
}
